Automattic\WooCommerce\Blocks\BlockTypes\MiniCart C

Total Complexity 107
Dependencies 12
Dependents 0
Total lines 671
Lines of code 385
Logical lines of code 167
Comment lines 199
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
get_markup()
B
36 18 75
append_script_and_deps_src()
A
47 12 34
print_lazy_load_scripts()
A
40 10 61
enqueue_data()
A
41 10 57
register_auto_insert()
A
54 9 20
is_header_part_or_pattern()
S
63 7 9
get_tax_label()
S
52 5 28
has_mini_cart_block()
S
69 5 5
get_block_type_script()
S
62 4 11
get_cart_price_markup()
S
66 4 7
get_inner_blocks_translations()
S
58 2 15
get_cart_instance()
S
69 3 7
pattern_is_excluded()
S
73 3 4
get_include_tax_label_markup()
S
66 3 7
get_script_from_handle()
S
66 3 9
get_block_type_editor_script()
S
66 2 8
should_not_render_mini_cart()
S
78 2 3
__construct()
S
78 1 3
register_empty_cart_message_block_pattern()
S
64 1 10
initialize()
S
69 1 6
get_block_type_style()
S
79 1 3
render()
S
79 1 3